Skip to content

Conversation

@filzrev
Copy link
Contributor

@filzrev filzrev commented Jun 28, 2025

This PR add workflow file (run-tests-selected.yaml) that run selected tests on specific project/OS/framework.

Expected workflow usage

  1. Run only selected tests on specific OS/framework (to reduce CI test workaround time)
  2. Run flaky tests that need multiple iterations to reproduce problems.
  3. Run BenchmarkDotNet.IntegrationTests.ManualRunning tests on CI (Some of the tests defined in the BenchmarkDotNet.IntegrationTests.ManualRunning project failed to run #2751)
  4. To collect custom tests artifacts (e.g. dotnet-gcdume results)

How to run this workflow

  1. Run workflow from GitHub Action's Web UI
  2. Run workflow with gh command
    # Run  CanDisassembleAllMethodCalls tests with net462 on `windows-latest` image.
    gh workflow run run-tests-selected.yaml --repo dotnet/BenchmarkDotNet --ref master -f runs_on=windows-latest -f project=tests/BenchmarkDotNet.IntegrationTests -f filter=CanDisassembleAllMethodCalls -f framework=net462
    

Note

To invoke workflow that use workflow_dispach trigger.
It need to to be committed to default branch (master) to use.

@timcassell timcassell merged commit ab703aa into dotnet:master Jun 28, 2025
9 checks passed
@AndreyAkinshin AndreyAkinshin added this to the v0.15.3 milestone Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants